﻿using ML.Entity;
using System.Collections.Generic;

namespace ML.IRepository
{
    public interface ICapitalAccountRepository
    {
        Pager<CapitalAccountResponse> List(CapitalAccountSearch capitalAccountSearch);

        IEnumerable<CapitalAccountEntity> GetCollectInfo(string merchantId);

        CapitalAccountEntity GetByMerchantId(string id);

        bool UpdateBalance(string id, decimal actPayPrice);
    }
}